import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:model_api_test/app_routes.dart';
import 'package:model_api_test/provider/base_provider.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      initialRoute: Routes.home,
      getPages: Routes.routes,
      initialBinding: BindingsBuilder(() {
        Get.put(HttpApiService.instance);
      }),
    );
  }
}
